<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>添加用户头像</title>
	</head>
	<body>
		<h1>添加用户头像</h1>
		<button id="addAvatarBtn">添加用户头像</button>
		<div id="avatarContainer"></div>
		<script>
			document.getElementById('addAvatarBtn').addEventListener('click', function() {
				var img = document.createElement('img');
				img.src ="../10.jpg" ; 
				img.src ="../9.jpg" ; 
				img.src ="../8.jpg" ; 
				img.src ="../7.jpg" ;
				img.src ="../6.jpg" ; 
				img.src ="../5.jpg" ; 
				document.getElementById('avatarContainer').appendChild(img);
			});
		</script>
	</body>
</html>
